Ext.define('MyApp.view.catalog.FileMassageView', {
	extend: 'Ext.window.Window',
	alias: 'widget.filemassageview',
	initComponent: function(){
		Ext.apply(this, {
			layout: 'column',
			autoScroll: true,
			modal: true,//遮盖
			title : '附件详情',
			maximizable: true,//最大化
			resizable: false,
			items: [{
				xtype: 'form',
				bodyPadding: 10,//内边距
				defaultType: 'textfield',
				fieldDefaults: {
					anchor: '100%',
					disabled : true,
					labelAlign: 'right',//标签在右边
					labelWidth: 60//标签长度，
					
				},
				items:[
					{
						name:'description',
						fieldLabel:'文件描述'
					},
					{
						name:'name',
						fieldLabel:'文件名称'
					},
					{
						name:'fileSize',
						fieldLabel:'文件大小'
					},
					{
						name:'uploadTime',
						xtype: 'timefield',
						format: 'Y-m-d h:i:s', 
						fieldLabel:'上传日期'
					},
					{
						xtype : 'button',
						text : '下载',
						glyph : 0xf019,
						itemId:'dw0xf019'
					}
				]
			}]
		});	
		this.callParent(arguments);
	}
});